home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 41 / Amiga Format CD41 (1999-06)(Future Publishing)(GB)[!][issue 1999-07].iso / -seriously_amiga- / programming / other / guigfxlib / doc / history < prev    next >
Text File  |  1999-04-19  |  17KB  |  446 lines

  1.  
  2. history
  3. -------------------------
  4.  
  5. v15.1
  6.     - render.library crashed with an ILLEGAL exception
  7.       (caused by a memhandler leak) when a HAM picture
  8.       was loaded with a v42 ILBM datatype.
  9.     
  10.     - CreatePictureMask() failed to create scaled masks.
  11.       fixed.
  12.  
  13. v15
  14.     - added a few basic examples to the documentation.
  15.     - added GGFX_UseMask for LoadPicture(). if TRUE and supported
  16.       by the datatype, a mask will be read and included to the 
  17.       picture as an alpha-channel.
  18.     - new function: CreatePictureMask(). This function creates
  19.       a single-bitplane mask from a picture's alpha-channel. it
  20.       can be passed to graphics.library/BltMaskBitMapRastPort().
  21.     - CreatePictureBitMap() now accepts a NULL picture. This can
  22.       be used to allocate a blank bitmap that can be blitted
  23.       to a drawhandle efficiently.
  24.  
  25. v14
  26.     - minor bug in MakePicture() fixed: when a blank
  27.       picture was created (data = NULL), the independent
  28.       flag was internally not set to TRUE.
  29.     - PICMTHD_AUTOCROP cropped blank pictures down to zero
  30.       pixels - fixed. (oops! evil crashes :-)
  31.  
  32. v13
  33.     - minor internal changes
  34.  
  35. v12
  36.     - added picture method PICMTHD_AUTOCROP
  37.     - the includes did not contain the definitions for
  38.       PICMTHD_NEGATIVE. fixed.
  39.  
  40. v11
  41.     - the Tower JPEG codec is no longer supported directly.
  42.     - added documentation for the v9 directdraw functions.
  43.  
  44. v10.2
  45.     - env/usescalepixelarray is no longer considered for
  46.       CreatePictureBitMap(). this function always uses
  47.       internal scaling routines now.
  48.  
  49. v10.1
  50.     - fixed a semaphore lockup problem when MakePicture() failed due to
  51.       a lack of memory
  52.     - parts of the library have been restructured.
  53.     - internal bitmap handling rewritten.
  54.     - MakePicture() has been rewritten. lots of sanity checks have been added.
  55.       bitmap conversion is more efficient. scaling has been included.
  56.     - fixed DirectDrawTruecolor() on truecolor screens without scaling
  57.     - rewrote ReadPicture(), added tags GGFX_AspectX, GGFX_AspectY,
  58.       GGFX_DestWidth, GGFX_DestHeight, and GGFX_ModeID.
  59.     - added picture method PICMTHD_NEGATIVE
  60.  
  61. v10
  62.     - major stability update! thanks to Luca Longone, who encountered
  63.       MystiCube crashing when started multiple times. the internal
  64.       memory manager is now reset to RMHTYPE_PUBLIC, and no problems
  65.       occured with 4 mysticubes, 2 mysticviews in slideshow mode,
  66.       rgbplasma, plus viewworld running simultaneously for many hours
  67.       under heavy debugging conditions.
  68.  
  69.       public memory management seems to solve all outstanding problems,
  70.       but it causes more memory fragmentation. a more sophisticated
  71.       memory manager is being planned.
  72.  
  73.     - added documentation for Source-Tags in picture method
  74.       PICMTHD_MIXALPHA.
  75.  
  76. v9.0
  77.     - CreatePictureBitmap() now returns gently with a NULL pointer
  78.       when no valid picture or drawhandles were specified.
  79.     - added CreatePictureMask(). (experimental, not for public use yet)
  80.  
  81. v8.5
  82.     - added env variable AUTODITHERTHRESHOLD
  83.     - env variables are now considered only once, when the
  84.       library is opened.
  85.     - forgot to document PICMTHD_SET in the autodocs. fixed.
  86.     - added method PICMTHD_CHECKAUTODITHER.
  87.  
  88. v8.4
  89.     - GGFX_AutoDither is now considered by DrawPicture()
  90.  
  91.  
  92. v8.3
  93.     - fixed CreateDirectDrawHandle(). when the input and
  94.       output dimensions were the same, this function returned
  95.       NULL instead of a valid directdrawhandle.
  96.     
  97.     - added support for texture-mapping and rotating while
  98.       drawing (no additional buffers required). currently
  99.       not documented and for internal use only.
  100.     
  101.     - added env variable guigfx/USEWPA8. it is used when the
  102.       drawhandle is on a native Amiga screenmode. when set to
  103.       0, guigfx.library will use an internal c2p routine.
  104.       when set to 1, guigfx.library will call WritePixelArray8(),
  105.       WritePixelLine8() or WriteChunkyPixels().
  106.  
  107. v8.2
  108.     - 12bit (default) drawhandles now use mapping-engines for
  109.       optimized rendering to static palettes (no pen-sharemap
  110.       specified for ObtainDrawHandle()). this is preliminary,
  111.       for test purposes only.
  112.     
  113.     - fixed PICMTHD_INSERT to support insertion of pictures
  114.       which are both mapped to the same drawhandle. untested yet.
  115.  
  116. v8.1
  117.     - to end up problems with cybergraphics.library/ScalePixelArray(),
  118.       I've included an ENV variable named guigfx/USESCALEPIXELARRAY
  119.       so that the user may decide. Default is "0", and
  120.       guigfx.library/DrawPicture() uses its internal scaling
  121.       routines. DirectDrawTrueColor() always uses ScalePixelArray()
  122.       with cgfx v41 present.
  123.  
  124. v8.0
  125.     - added CreateDirectDrawHandle(), DeleteDirectDrawHandle()
  126.       and DirectDrawTrueColor() for optimized drawing of
  127.       RGB data.
  128.  
  129.     - wowsers, cybergraphics.library/scalepixelarray() seems
  130.       to get faster and buggier with every new cybergraphics
  131.       update. i wonder if the authors still know what's going
  132.       on inside? anyway, i can't really decide whether to use
  133.       it or not. currently, DirectDrawTrueColor() uses it for
  134.       higher performance, and DrawPicture() doesn't for
  135.       accurate scaling without flicker.
  136.  
  137. v7.2
  138.     - applied Tower JPEG Class license agreements to the
  139.       legal informations.
  140.  
  141.     - If you want to use the Tower JPEG codec, your program
  142.       has to be in accordance to the respective license
  143.       agreements. Specify the tag GGFX_License for
  144.       IsPicture() and LoadPicture() to use the JPEG codec.
  145.       Otherwise, datatypes are used.
  146.  
  147. v7.1
  148.     - added picture mehtods PICMTHD_FLIPX and PICMTHD_FLIPY.
  149.  
  150. v7.0
  151.     - added picture method PICMTHD_INSERT.
  152.  
  153. v6.2
  154.     - improved drawing speed with OS3.0
  155.  
  156. v6
  157.     - ClonePicture() now handles scaling.
  158.     - minor changes and speed improvements.
  159.     - JPEG is the first file format to be supported
  160.       directly. LoadPicture() uses the tower.library
  161.       JPEG codec if available. directly supported
  162.       formats require less memory while loading.
  163.  
  164. v5
  165.     - added method PICMTHD_TINTALPHA
  166.  
  167. v4.4
  168.     - since v4.3, ObtainDrawHandle() crashed on screens with
  169.       no sharable pens. fixed.
  170.     - if render.library cannot be found in LIBS:,
  171.       guigfx.library now tries to open it at libs/.
  172.     - IsPicture() no longer crashes without datatypes.library.
  173.  
  174. v4.3
  175.     - improved logic in ObtainDrawHandle() for
  176.       truecolor-rastports and pensharemap=NULL
  177.     - updated autodocs.
  178.     - Calls to ScalePixelArray()/cybergraphics v41 have been
  179.       removed. Instead, a 24bit render.library scaling-engine
  180.       is used. ScalePixelArray() is too slow (especially with
  181.       large images), does not scale correctly, causes
  182.       flickering, and cannot be interrupted.
  183.     - fixed PICMTHD_SET with pictures mapped to a drawhandle.
  184.     - added tags GGFX_SourceWidth, GGFX_SourceHeight, 
  185.       GGFX_SourceX und GGFX_SourceY to ClonePicture(). It's
  186.       now possible to clone a picture in part.
  187.     - fixed a minor bug in MakePicture().
  188.     - MakePicture() now accpets NULL as the palette argument
  189.       for PIXFMT_CHUNKY_CLUT, in which case a grey palette
  190.       with 256 entries will be generated.
  191.  
  192. v4.2
  193.     - DrawPicture() did not set a correct return value under
  194.       rare circumstances. fixed.
  195.     - pictures now cache their last scaling-engine.
  196.     - DrawPicture() is now guaranteed to execute the line hook
  197.       at least once per call.
  198.  
  199. v4.1
  200.     - the functions LockPicture() and UnlockPicture() are now
  201.       considered 'obsolete'. Calling LockPicture() will always
  202.       return FALSE, and UnlockPicture() will do nothing.
  203.       
  204.       Please remove these functions from your code and replace
  205.       them with a call to DoPictureMethod() with
  206.       PICMTHD_MAPDRAWHANDLE if you need optimized rendering.
  207.  
  208.       The idea behind LockPicture() wasn't too bad, but currently
  209.       it is not possible to implement it properly. LockPicture()
  210.       and UnlockPicture() will no longer be documented, but the
  211.       LVOs remain valid and might be reactivated some day. Calling
  212.       these functions in already existing code is harmless.
  213.  
  214. v4.00
  215.     - implemented IsPicture()
  216.  
  217. v3.11
  218.     - fixed several memory management problems with LoadPicture().
  219.  
  220. v3.10
  221.     - fixed a heavy bug leading to memory corruptions, especially
  222.       when drawing to native Amiga screen modes.
  223.     
  224. v3.03
  225.     - MakePictureA() now accepts NULL as a data pointer. This
  226.       will create a 'blank' picture with the specified
  227.       attributes.
  228.     - ObtainDrawHandleA() now accepts NULL for the pensharemap
  229.       argument. In this case ObtainDrawHandle creates a drawhandle
  230.       with a static 9bit colorspace palette.
  231.     - MakePictureA() now accepts a NULL palette for PIXFMT_CHUNKY_CLUT.
  232.       This will create a default-palette (256 colors from black to white)
  233.     - drawing to bitplanes without scaling is now performed
  234.       via Chunky2BitMap/BltBitMapRastPort.
  235.     - implemented PICMTHD_SET.
  236.     - fixed lots of bugs in internal picture conversion routines.
  237.  
  238. v3.02
  239.     - guigfx.library no longer depends on datatypes.library v40.
  240.       the minimum version number is reset to v39.
  241.     - implemented PICMTHD_TEXTURE.
  242.     - bumped revision number for render.library to v25.
  243.  
  244. v3.01
  245.     - fixed a minor bug in LockPictureA().
  246.     - added documentation for LockPictureA() and UnLockPicture().
  247.     - added a workaround for INVALID_ID originating from
  248.       PDTA_ModeID. INVALID_ID returned by a datatype appears
  249.       neither logical nor legal to me. anyway, guigfx.library
  250.       no longer crashes with HAM8 pictures loaded by the ILBM v43
  251.       datatype in an ECS/OCS environment. however, the images still
  252.       appear scrambled, since guigfx.library cannot determine whether
  253.       to treat an image as HAM8 or not.
  254.  
  255. v3.00
  256.     - Some more tags implemented.
  257.     - the autodocs have been reworked.
  258.     - the internal memhandler has been reset to RMHTYPE_POOL.
  259.     - implemented LockPicture() and UnlockPicture().
  260.     - color allocation strategy improved.
  261.     - datatypes.Library is no longer required for guigfx.library
  262.       to be opened successfully.
  263.  
  264. v2.01
  265.     - fixed GGFX_SourceX / GGFX_SourceY when drawing truecolor data to
  266.       truecolor rastports without scaling. Thanks to M. Hillenbrand
  267.       who reported this obstinate bug.
  268.  
  269. v2.00
  270.     - fixed some internal histogram-related quirks and problems.
  271.       the resolution of a picture's histogram is now by default the
  272.       pensharemap's resolution it is being added to. if no
  273.       pensharemap is involved, then the histogram's resolution
  274.       will be set to the default resolution (currently HSTYPE_12BIT_TURBO).
  275.       You may as well set GGFX_HSType for LoadPicture(), MakePicture(),
  276.       and ReadPicture(), but this is not required under normal
  277.       circumstances. Better set the desired resolution when calling
  278.       CreatePenShareMap().
  279.     - guigfx.library no longer crashes with old versions of
  280.       render.library. Now it closes down gently (It seems as I was
  281.       completely brain-dead when I wrote the setup routine)
  282.     - autodocs now reflect all new tags and methods.
  283.  
  284. v1.99
  285.     - since the autodither value cannot be computed when rendering
  286.       to HAM screen modes, HAM dithering is always enabled with
  287.       autodither != 0 and disabled with autodither==0.
  288.     - fixed documentation of AddPaletteA() and fixed a bug in
  289.       AddPalette() / PALFMT_RGB32. Thanks to Frank Pagels who
  290.       reported these problems.
  291.     - added picture method PICMTHD_TINT.
  292.     - guigfx.library no longer tries to open Cybergraphics.library
  293.       v41. The code now correctly differentiates for ScalePixelArray()
  294.       and custom scaling routines. Thanks to M. Hillenbrand and
  295.       S. Sommerfeld who reported this bug.
  296.  
  297. v1.98
  298.     - drawing/scaling truecolor to truecolor drawing is now
  299.       done with ScalePixelArray/cybergraphics.library which
  300.       isn't as slow as I expected. It can stand the test
  301.       with a render.library scaling-engine plus line-by-line
  302.       drawing, and it requires no additional memory.
  303.     - The code now differenciates graphics v40 for drawing to
  304.       graphic card rastports via WriteChunkyPixels().
  305.  
  306. v1.97
  307.     - guigfx.library now tries to convert chunky pictures to
  308.       truecolor before drawing to HAM modes. if conversion
  309.       fails (i.e. with the picture in a static buffer), the
  310.       image will be drawn with the 16/64 HAM base colors.
  311.  
  312. v1.96
  313.     - fixed a minor bug that occured when drawing odd-width
  314.       pictures in directdraw mode.
  315.     - guigfx.library now renders to HAM modes. Currently the
  316.       full HAM spectrum is only used with truecolor pictures.
  317.       When ObtainDrawHandle() is supplied with GGFX_ModeID, 
  318.       then HAM is automatically recognized and used.
  319.  
  320. v1.95
  321.     - removed a workaround for an incompatibility problem
  322.       between the cybergraphx and picasso96 picture.datatypes.
  323.       loading is faster now and requires less memory. this
  324.       update requires the picasso96 picture.class datatype
  325.       v43.26.
  326.     - revised autodocs and completed the documentation for
  327.       the picture method PICMTHD_CREATEALPHAMASK.
  328.  
  329. v1.94
  330.     - fixed a overlap-memcopy bug in PICMTHD_CROP. You need to
  331.       upgrade to render.library v22.1.
  332.  
  333. v1.93
  334.     - improved alpha-channel handling. PICMTHD_MIXALPHA
  335.       now handles alpha-channels in both the source and
  336.       destination picture (if present).
  337.     - implemented PICMTHD_CREATEALPHAMASK.
  338.     - added E includes
  339.  
  340. v1.92
  341.     - fixed bug in DoPictureMethod: certain internal format
  342.       conversions lead to crashes since v1.7.
  343.     - implemented PICMTHD_RENDER with destination format
  344.       PIXFMT_RGB_24.
  345.     - completed alpha-channel administration. an alpha-channel
  346.       is no longer discarded when the internal pixel format
  347.       changes.
  348.     - implemented GGFX_AlphaPresent for MakePicture()
  349.  
  350. v1.9
  351.     - rewrote all drawing routines. the code is more
  352.       differentiated for optimized drawing.
  353.     - autodither fixed. finally this feature works as
  354.       it was originally intended to.
  355.     - Fixed v1.8 bug when drawing to truecolor screens.
  356.     - implemented GGFX_DitherMode for DrawPicture() and
  357.       CreatePictureBitMap(). They may be used to optionally
  358.       override the drawhandle's dithermode.
  359.     - Note: guigfx.library v1.9 requires render.library v21.
  360.     - implemented GGFX_AspectX and GGFX_AspectY to
  361.       MakePicture().
  362.  
  363. v1.8
  364.     - ObtainDrawHandle() no longer allocates pens for
  365.       truecolor rastports. Thanks to Stefan Sommerfeld
  366.       who reported this bug.
  367.     - GGFX_SourceWidth and GGFX_SourceHeight were not
  368.       correctly implemented for CreatePictureBitMap()
  369.     - fixed minor memory transfer problems: TurboCopyMem()
  370.       was sometimes applied to odd-sized memory areas
  371.     - implemented GGFX_BufferSize for MakePicture()
  372.  
  373. v1.7
  374.     - a picture has no longer to be maintained for an open
  375.       colorhandle. with other words: you may DeletePicture()
  376.       a picture after it has been added to a pensharemap via
  377.       AddPicture().
  378.     - implemented GGFX_MaxAllocPens for ObtainDrawHandle().
  379.       This limits the number of allocated pens to a specific
  380.       number. Better you use this feature only if you've got
  381.       a very good reason for it.
  382.     - math problems fixed. GGFX_Weight should work now. a better
  383.       color allocation strategy has been implemented.
  384.       Currently use GGFX_Weight in a range from 1-10. Maybe
  385.       I will implement a more sophisticated measurement later.
  386.     - internal color allocation order is now PALMODE_SATURATION
  387.       instead of PALMODE_SIGNIFICANCE. this improves color
  388.       allocation speed drastically.
  389.     - drawhandles no longer maintain a global mapping-engine.
  390.       this saves some memory and is remarkably faster in many
  391.       situations, since the mapping-engine could not be linked
  392.       to the drawhandle's histogram.
  393.  
  394. v1.6
  395.     - implemented GGFX_ErrorCode for LoadPicture(). You specify
  396.       a pointer to LONG, and a standard DOS error code will be
  397.       returned (NULL when everything was OK).
  398.  
  399. v1.5
  400.     - LoadPicture() did not always handle v43 bitmaps correctly.
  401.       Fixed. Thanks to Markus Hillenbrand who reported this bug.
  402.     - guigfx.library's global memhandler is reset to RMHTYPE_PUBLIC
  403.       for debugging, since public memory violations can be
  404.       tracked down more easily.
  405.     - fixed PICMTHD_MIXALPHA with the source picture in
  406.       PIXFMT_CHUNKY_CLUT
  407.     - added PICATTR_AspectX and PICATTR_AspectY to GetPictureAttrs()
  408.  
  409. v1.4    - fixed minor autodither bug.
  410.     - GGFX_CallBackHook implemented for CreatePictureBitMap.
  411.     - the autodither calculation is now invoked only for rastports
  412.       with a depth <= 8
  413.  
  414. v1.3
  415.     - added GGFX_DitherMode to CreatePictureBitMap()
  416.     - added GGFX_DestWidth, DestHeight, DestX and DestY to
  417.       method PICMTHD_MIXALPHA and PICMTHD_SETALPHA.
  418.       added GGFX_DestWidth, DestHeight, DestX, DestY, SourceX,
  419.       SourceY, SourceWidth, SourceHeight to method PICMTHD_MIX.
  420.       after all, DoPictureMethod() can apply clip regions of alpha
  421.       channel data to regions inside the picture, with automatic
  422.       scaling when necessary.
  423.     - cleaned up all drawing routines.
  424.     - GGFX_CallBackHook implemented for DrawPicture.
  425.  
  426. v1.2
  427.     - fixed a bug in ClonePicture(). When a cloned picture was
  428.       deleted after the original, a memhandler-failure occured
  429.       (leading to an ILLEGAL exception in render.library)
  430.     - fixed a bug in LoadPicture() - eliminated calls to IoErr().
  431.       dos.library is not part of guigfx.library. this fixes
  432.       crashes with unknown datatype objects or load errors.
  433.     - guigfx.library now uses a global memhandler with RMHTYPE_POOL
  434.       and MEMF_REVERSE.
  435.     - implemented GGFX_SourceWidth, GGFX_SourceHeight, GGFX_SourceX
  436.       and GGFX_SourceY for DrawPicture(). Now you can easily specify
  437.       offsets.
  438.  
  439. v1.1
  440.     - fixed a heavy bug when drawing to native Amiga screen modes.
  441.  
  442.  
  443. v1.0
  444.     - first internal beta release.
  445.  
  446.